package com.dao;

import com.entity.Class;
import com.entity.Dorm;
import com.entity.Student;
import com.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ActivityParticipateMapper {
    /*
    添加班级
     */
    public int addClassa(List<Class> classs);

    /*
    查询班级
    proID 活动id
     */
    public List<Class> selectClasss(@Param("proID") Integer proID,@Param("school") String school);

    /*
    添加学生
    .0
     */
    public int addStudent(List<Student> students);

    /*
    查询班级所有内学生信息
     */
    public List<Student> selectStudentS(Student student);


    public Student selectStudent(Student student);

    /*
        input查询学生
     */
    public List<Student> selectInputStudents(@Param("name") String name,@Param("proID") int proID);




     public int changeCase(Student student);

     public Class judgeExistenceClass(Class classe);

     /*
        添加寝室
      */
     public int addDorm(List<Dorm> dorms);

     /*
        查询所有寝室
      */
     public List<Dorm> selectDorms();

     /*
        删除寝室
      */
     public int delectDorm(int dormID);
     /*
        查询单个寝室
      */
     public Dorm selectDorm(@Param("dorNumber") String dorNumber,@Param("base")String base);

     public List<Dorm> intputSeletDorms(String params);
}
